package com.erp.pro.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 产品列表
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-07-01 15:42:37
 */
@Data
public class ProductDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//产品编号
	@Excel(name = "产品编号", orderNum = "1")
	private String sku;
	//产品名称
	@Excel(name = "产品名称", orderNum = "2")
	private String name;
	//状态
	@Excel(name = "状态", orderNum = "3")
	private String status;
	//品牌
	@Excel(name = "品牌", orderNum = "4")
	private String proBrand;
	//图片
	private String picturl;
	//产品型号
	@Excel(name = "产品型号", orderNum = "5")
	private String proModel;
	//产品规格
	@Excel(name = "产品规格", orderNum = "6")
	private String proSpec;
	//含税价
	private BigDecimal taxProce;
	//税率
	private BigDecimal taxRate;
	//不含税价
	private BigDecimal nTaxPrice;
	//成本价
	private BigDecimal costPrice;
	//采购价
	@Excel(name = "采购价", orderNum = "7")
	private BigDecimal purPrice;
	//供应商ID
	private Long supplierId;
	//供应商名称
	@Excel(name = "供应商", orderNum = "8")
	private String supplierName;
	//总库存
	@Excel(name = "总库存", orderNum = "9")
	private Integer allQty;
	//在途库存
	private Integer onPurQty;
	//备注
	@Excel(name = "备注", orderNum = "10")
	private String remarks;
	//创建用户id
	private Long userIdCreate;
	//创建用户
	private String userNameCreate;
	//创建时间
	private Date gmtCreate;
	//修改用户id
	private Long userIdModified;
	//修改用户
	private String userNameModified;
	//修改时间
	private Date gmtModified;
	//分类ID
	private Long categoryId;
	//分类
	private String categoryName;
	//产地
	@Excel(name = "产地", orderNum = "11")
	private String picOrigin;
	//总出库数量
	private Integer allOutqty;

	//查询参数
	/*是否有库存*/
	private Integer isqty;
}
